// app.js
App({
  onLaunch() {
    //判断当前小程序系统环境是否支持相应的API
   console.log( wx.canIUse('openBluetoothAdapter'));
   //同步获取系统信息
   wx.getSystemInfo()
   console.log(wx.getSystemInfoSync())
   var res= wx.getSystemInfoSync();
   console.log("当前设备的宽："+res.screenWidth);
   console.log("当前设备的高"+res.screenHeight);
   wx.getUserInfo({
    success(res){
         console.log(res);
    }
   })
  },
  
})
